<template>
	<view class="web-box">
		<web-view class="web-view" :src="url"></web-view>
	</view>
</template>

<script setup>
	import {ref} from 'vue'
	const url = ref('')
	const props = defineProps()
	url.value = props.url
	uni.setNavigationBarTitle({
		title:props.title
	})
</script>

<style lang="scss" scoped>
page{
	background-color: white;
	margin: 0;
	padding: 0;
}
.web-box{
	margin: 0;
	padding: 0;
	.web-view{
		margin: 0;
		padding: 0;
	}
}
</style>